﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Entities
{
    /// <summary>
    /// Represents alls information about FeedBack of user
    /// </summary>
    public class Feedback
    {
        #region Variable Private
        private int _feedBackID;
        private string _fullName;
        private string _email;
        private string _tilte;
        private string _content;
        private DateTime _sendDate;
        #endregion

        #region Properties Public

        public int FeedBackID
        {
            get { return _feedBackID; }
            set { _feedBackID = value; }
        }
        public string FullName
        {
            get { return _fullName; }
            set { _fullName = value; }
        }
        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }
        public string Tilte
        {
            get { return _tilte; }
            set { _tilte = value; }
        }
        public string Content
        {
            get { return _content; }
            set { _content = value; }
        }
        public DateTime SendDate
        {
            get { return _sendDate; }
            set { _sendDate = value; }
        }
        #endregion

        #region Constructor
        public Feedback()
        {

        }
        public Feedback(string fullName, string email, string title, string content, DateTime sendDate)
        {
            this.FullName = fullName;
            this.Email = email;
            this.Tilte = title;
            this.Content = content;
            this.SendDate = sendDate;
        }
        public Feedback(int feedId, string fullName, string email, string title, string content, DateTime sendDate)
        {
            this.FeedBackID = feedId;
            this.FullName = fullName;
            this.Email = email;
            this.Tilte = title;
            this.Content = content;
            this.SendDate = sendDate;
        }

        #endregion
    }
}
